package com.bsoft.gol.hcs.task.bean.response;

import javax.xml.bind.annotation.*;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @description: 同步检验申请单列表
 * @author: chenJij@bsoft.com.cn
 * @date: 2020/12/16 12:44
 */
@XmlRootElement(name = "Data")
public class QueryLabRecordResponse implements Serializable {
    private List<LabRequest> LabRequests;

    @XmlElementWrapper(name = "LabRequests")
    @XmlElement(name = "LabRequest")
    public List<LabRequest> getLabRequests() {
        return LabRequests;
    }

    public void setLabRequests(List<LabRequest> labRequests) {
        LabRequests = labRequests;
    }

    public static class LabRequest {
        private String SourcePatientId;
        private String SourcePatientIdType;
        private String IdCard;
        private String IdCardCode;
        private String Name;
        private String Sex;
        private String BirthDate;
        private String PatientPhone;
        private String Address;
        //病人性质
        private String PatientProperties;
        //就诊流水号
        private String VisitId;
        //就诊机构代码
        private String VisitOrganization;
        //患者类型代码
        private String PatientType;
        private String MedicalCardId;
        private String MedicalCardType;
        //门（急）诊号
        private String ClinicId;
        //住院号
        private String HospizationId;
        //检验申请单编号
        private String RequestId;
        private String IsNeonatus;
        //年龄（岁）
        private String Age;
        //年龄（月
        private String MonthAge;
        //科室代码
        private String Dept;
        //科室名称
        private String DeptName;
        //病区代码
        private String WardArea;
        //病区名称
        private String WardAreaName;
        //病床号
        private String SickbedId;
        //病房号
        private String SickRoomId;
        //病床编码
        private String SickbedNo;
        //病房编号
        private String SickRoomNo;
        //申请单状态
        private int RequestStatus;

        //紧急标志
        private String IsEmergency;

        //审核日期时间
        private String RequestCheckTime;
        //审核医师代码
        private String RequestCheckerId;
        //审核医师姓名
        private String RequestCheckerName;

        //申请时间
        private String RequestDateTime;
        //申请医师代码
        private String RequestDoctor;
        //申请医生姓名
        private String RequestDoctorName;
        //申请科室代码
        private String RequestDept;
        //申请科室名称
        private String RequestDeptName;

        //申请项目全称
        private String ExamText;
        //执行日期时间
        private String ExamExecuteTime;
        //申请执行机构
        private String ExamExecuteOrg;
        //申请执行科室
        private String ExamExecuteDept;
        //申请执行科室名称
        private String ExamExecuteDeptName;

        //审核日期时间
        private String AuditDateTime;
        //审核医师代码
        private String AuditDoctorCode;
        //审核医师姓名
        private String AuditDoctorName;

        //申请单有效开始时间
        private String EffectiveTimeLow;
        //申请单有效结束时间
        private String EffectiveTimeHigh;

        private String RemarkInfo;

        private List<Diagnose> Diagnoses;
        private List<Item> Items;

        @XmlElement(name = "ExamExecuteDeptName")
        public String getExamExecuteDeptName() {
            return ExamExecuteDeptName;
        }

        public void setExamExecuteDeptName(String examExecuteDeptName) {
            ExamExecuteDeptName = examExecuteDeptName;
        }

        @XmlElement(name = "ExamExecuteTime")
        public String getExamExecuteTime() {
            return ExamExecuteTime;
        }

        public void setExamExecuteTime(String examExecuteTime) {
            ExamExecuteTime = examExecuteTime;
        }

        @XmlElement(name = "SourcePatientId")
        public String getSourcePatientId() {
            return SourcePatientId;
        }

        public void setSourcePatientId(String sourcePatientId) {
            SourcePatientId = sourcePatientId;
        }

        @XmlElement(name = "SourcePatientIdType")
        public String getSourcePatientIdType() {
            return SourcePatientIdType;
        }

        public void setSourcePatientIdType(String sourcePatientIdType) {
            SourcePatientIdType = sourcePatientIdType;
        }

        @XmlElement(name = "IdCard")
        public String getIdCard() {
            return IdCard;
        }

        public void setIdCard(String idCard) {
            IdCard = idCard;
        }

        @XmlElement(name = "IdCardCode")
        public String getIdCardCode() {
            return IdCardCode;
        }

        public void setIdCardCode(String idCardCode) {
            IdCardCode = idCardCode;
        }

        @XmlElement(name = "Name")
        public String getName() {
            return Name;
        }

        public void setName(String name) {
            Name = name;
        }

        @XmlElement(name = "Sex")
        public String getSex() {
            return Sex;
        }

        public void setSex(String sex) {
            Sex = sex;
        }

        @XmlElement(name = "BirthDate")
        public String getBirthDate() {
            return BirthDate;
        }

        public void setBirthDate(String birthDate) {
            BirthDate = birthDate;
        }

        @XmlElement(name = "PatientPhone")
        public String getPatientPhone() {
            return PatientPhone;
        }

        public void setPatientPhone(String patientPhone) {
            PatientPhone = patientPhone;
        }

        @XmlElement(name = "Address")
        public String getAddress() {
            return Address;
        }

        public void setAddress(String address) {
            Address = address;
        }

        @XmlElement(name = "PatientProperties")
        public String getPatientProperties() {
            return PatientProperties;
        }

        public void setPatientProperties(String patientProperties) {
            PatientProperties = patientProperties;
        }

        @XmlElement(name = "VisitId")
        public String getVisitId() {
            return VisitId;
        }

        public void setVisitId(String visitId) {
            VisitId = visitId;
        }

        @XmlElement(name = "VisitOrganization")
        public String getVisitOrganization() {
            return VisitOrganization;
        }

        public void setVisitOrganization(String visitOrganization) {
            VisitOrganization = visitOrganization;
        }

        @XmlElement(name = "PatientType")
        public String getPatientType() {
            return PatientType;
        }

        public void setPatientType(String patientType) {
            PatientType = patientType;
        }

        @XmlElement(name = "MedicalCardId")
        public String getMedicalCardId() {
            return MedicalCardId;
        }

        public void setMedicalCardId(String medicalCardId) {
            MedicalCardId = medicalCardId;
        }

        @XmlElement(name = "MedicalCardType")
        public String getMedicalCardType() {
            return MedicalCardType;
        }

        public void setMedicalCardType(String medicalCardType) {
            MedicalCardType = medicalCardType;
        }

        @XmlElement(name = "ClinicId")
        public String getClinicId() {
            return ClinicId;
        }

        public void setClinicId(String clinicId) {
            ClinicId = clinicId;
        }

        @XmlElement(name = "HospizationId")
        public String getHospizationId() {
            return HospizationId;
        }

        public void setHospizationId(String hospizationId) {
            HospizationId = hospizationId;
        }

        @XmlElement(name = "RequestId")
        public String getRequestId() {
            return RequestId;
        }

        public void setRequestId(String requestId) {
            RequestId = requestId;
        }

        @XmlElement(name = "IsNeonatus")
        public String getIsNeonatus() {
            return IsNeonatus;
        }

        public void setIsNeonatus(String isNeonatus) {
            IsNeonatus = isNeonatus;
        }

        @XmlElement(name = "Age")
        public String getAge() {
            return Age;
        }

        public void setAge(String age) {
            Age = age;
        }

        @XmlElement(name = "MonthAge")
        public String getMonthAge() {
            return MonthAge;
        }

        public void setMonthAge(String monthAge) {
            MonthAge = monthAge;
        }

        @XmlElement(name = "Dept")
        public String getDept() {
            return Dept;
        }

        public void setDept(String dept) {
            Dept = dept;
        }

        @XmlElement(name = "DeptName")
        public String getDeptName() {
            return DeptName;
        }

        public void setDeptName(String deptName) {
            DeptName = deptName;
        }

        @XmlElement(name = "WardArea")
        public String getWardArea() {
            return WardArea;
        }

        public void setWardArea(String wardArea) {
            WardArea = wardArea;
        }

        @XmlElement(name = "WardAreaName")
        public String getWardAreaName() {
            return WardAreaName;
        }

        public void setWardAreaName(String wardAreaName) {
            WardAreaName = wardAreaName;
        }

        @XmlElement(name = "SickbedId")
        public String getSickbedId() {
            return SickbedId;
        }

        public void setSickbedId(String sickbedId) {
            SickbedId = sickbedId;
        }

        @XmlElement(name = "SickRoomId")
        public String getSickRoomId() {
            return SickRoomId;
        }

        public void setSickRoomId(String sickRoomId) {
            SickRoomId = sickRoomId;
        }

        @XmlElement(name = "SickbedNo")
        public String getSickbedNo() {
            return SickbedNo;
        }

        public void setSickbedNo(String sickbedNo) {
            SickbedNo = sickbedNo;
        }

        @XmlElement(name = "SickRoomNo")
        public String getSickRoomNo() {
            return SickRoomNo;
        }

        public void setSickRoomNo(String sickRoomNo) {
            SickRoomNo = sickRoomNo;
        }

        @XmlElement(name = "RequestStatus")
        public int getRequestStatus() {
            return RequestStatus;
        }

        public void setRequestStatus(int requestStatus) {
            RequestStatus = requestStatus;
        }

        @XmlElement(name = "IsEmergency")
        public String getIsEmergency() {
            return IsEmergency;
        }

        public void setIsEmergency(String isEmergency) {
            IsEmergency = isEmergency;
        }

        @XmlElement(name = "RequestCheckTime")
        public String getRequestCheckTime() {
            return RequestCheckTime;
        }

        public void setRequestCheckTime(String requestCheckTime) {
            RequestCheckTime = requestCheckTime;
        }

        @XmlElement(name = "RequestCheckerId")
        public String getRequestCheckerId() {
            return RequestCheckerId;
        }

        public void setRequestCheckerId(String requestCheckerId) {
            RequestCheckerId = requestCheckerId;
        }

        @XmlElement(name = "RequestCheckerName")
        public String getRequestCheckerName() {
            return RequestCheckerName;
        }

        public void setRequestCheckerName(String requestCheckerName) {
            RequestCheckerName = requestCheckerName;
        }

        @XmlElement(name = "RequestDateTime")
        public String getRequestDateTime() {
            return RequestDateTime;
        }

        public void setRequestDateTime(String requestDateTime) {
            RequestDateTime = requestDateTime;
        }

        @XmlElement(name = "RequestDoctor")
        public String getRequestDoctor() {
            return RequestDoctor;
        }

        public void setRequestDoctor(String requestDoctor) {
            RequestDoctor = requestDoctor;
        }

        @XmlElement(name = "RequestDoctorName")
        public String getRequestDoctorName() {
            return RequestDoctorName;
        }

        public void setRequestDoctorName(String requestDoctorName) {
            RequestDoctorName = requestDoctorName;
        }

        @XmlElement(name = "RequestDept")
        public String getRequestDept() {
            return RequestDept;
        }

        public void setRequestDept(String requestDept) {
            RequestDept = requestDept;
        }

        @XmlElement(name = "RequestDeptName")
        public String getRequestDeptName() {
            return RequestDeptName;
        }

        public void setRequestDeptName(String requestDeptName) {
            RequestDeptName = requestDeptName;
        }

        @XmlElement(name = "ExamText")
        public String getExamText() {
            return ExamText;
        }

        public void setExamText(String examText) {
            ExamText = examText;
        }

        @XmlElement(name = "ExamExecuteOrg")
        public String getExamExecuteOrg() {
            return ExamExecuteOrg;
        }

        public void setExamExecuteOrg(String examExecuteOrg) {
            ExamExecuteOrg = examExecuteOrg;
        }

        @XmlElement(name = "ExamExecuteDept")
        public String getExamExecuteDept() {
            return ExamExecuteDept;
        }

        public void setExamExecuteDept(String examExecuteDept) {
            ExamExecuteDept = examExecuteDept;
        }

        @XmlElement(name = "AuditDateTime")
        public String getAuditDateTime() {
            return AuditDateTime;
        }

        public void setAuditDateTime(String auditDateTime) {
            AuditDateTime = auditDateTime;
        }

        @XmlElement(name = "AuditDoctorCode")
        public String getAuditDoctorCode() {
            return AuditDoctorCode;
        }

        public void setAuditDoctorCode(String auditDoctorCode) {
            AuditDoctorCode = auditDoctorCode;
        }

        @XmlElement(name = "AuditDoctorName")
        public String getAuditDoctorName() {
            return AuditDoctorName;
        }

        public void setAuditDoctorName(String auditDoctorName) {
            AuditDoctorName = auditDoctorName;
        }

        @XmlElement(name = "EffectiveTimeLow")
        public String getEffectiveTimeLow() {
            return EffectiveTimeLow;
        }

        public void setEffectiveTimeLow(String effectiveTimeLow) {
            EffectiveTimeLow = effectiveTimeLow;
        }

        @XmlElement(name = "EffectiveTimeHigh")
        public String getEffectiveTimeHigh() {
            return EffectiveTimeHigh;
        }

        public void setEffectiveTimeHigh(String effectiveTimeHigh) {
            EffectiveTimeHigh = effectiveTimeHigh;
        }

        @XmlElement(name = "RemarkInfo")
        public String getRemarkInfo() {
            return RemarkInfo;
        }

        public void setRemarkInfo(String remarkInfo) {
            RemarkInfo = remarkInfo;
        }

        @XmlElementWrapper(name = "Diagnoses")
        @XmlElement(name = "Diagnose")
        public List<Diagnose> getDiagnoses() {
            return Diagnoses;
        }

        public void setDiagnoses(List<Diagnose> diagnoses) {
            Diagnoses = diagnoses;
        }

        @XmlElementWrapper(name = "Items")
        @XmlElement(name = "Item")
        public List<Item> getItems() {
            return Items;
        }

        public void setItems(List<Item> items) {
            Items = items;
        }

        public static class Diagnose {
            private String DiagnoseTypeCode;
            private String DiagnoseTypeName;
            private String DiagnoseDateTime;
            private String DiagnoseCode;
            private String DiagnoseName;

            @XmlElement(name = "DiagnoseTypeCode")
            public String getDiagnoseTypeCode() {
                return DiagnoseTypeCode;
            }

            public void setDiagnoseTypeCode(String diagnoseTypeCode) {
                DiagnoseTypeCode = diagnoseTypeCode;
            }

            @XmlElement(name = "DiagnoseTypeName")
            public String getDiagnoseTypeName() {
                return DiagnoseTypeName;
            }

            public void setDiagnoseTypeName(String diagnoseTypeName) {
                DiagnoseTypeName = diagnoseTypeName;
            }

            @XmlElement(name = "DiagnoseDateTime")
            public String getDiagnoseDateTime() {
                return DiagnoseDateTime;
            }

            public void setDiagnoseDateTime(String diagnoseDateTime) {
                DiagnoseDateTime = diagnoseDateTime;
            }

            @XmlElement(name = "DiagnoseCode")
            public String getDiagnoseCode() {
                return DiagnoseCode;
            }

            public void setDiagnoseCode(String diagnoseCode) {
                DiagnoseCode = diagnoseCode;
            }

            @XmlElement(name = "DiagnoseName")
            public String getDiagnoseName() {
                return DiagnoseName;
            }

            public void setDiagnoseName(String diagnoseName) {
                DiagnoseName = diagnoseName;
            }
        }

        public static class Item {
            private String AdviceExpenseId;
            private String OrderId;
            private String BarcodeNo;
            private String ItemCode;
            private String ItemName;
            private String SampleTypeCode;
            private String SampleTypeName;
            private BigDecimal ItemPrice;
            private BigDecimal ItemCount;
            private BigDecimal ItemCost;
            private String FeeStatus;
            private String CostFreeSign;
            private String ExamExecuteDept;
            private String ExamExecuteDeptName;
            private String ExamExecuteTime;
            private String RequestNote;
            private String InvoiceNo;
            private String ExamMethodCode;
            private String ExamMethodName;
            private int Feetype;
            private List<Childitem> Childitems;

            @XmlElement(name = "AdviceExpenseId")
            public String getAdviceExpenseId() {
                return AdviceExpenseId;
            }

            public void setAdviceExpenseId(String adviceExpenseId) {
                AdviceExpenseId = adviceExpenseId;
            }

            @XmlElement(name = "OrderId")
            public String getOrderId() {
                return OrderId;
            }

            public void setOrderId(String orderId) {
                OrderId = orderId;
            }

            @XmlElement(name = "BarcodeNo")
            public String getBarcodeNo() {
                return BarcodeNo;
            }

            public void setBarcodeNo(String barcodeNo) {
                BarcodeNo = barcodeNo;
            }

            @XmlElement(name = "ItemCode")
            public String getItemCode() {
                return ItemCode;
            }

            public void setItemCode(String itemCode) {
                ItemCode = itemCode;
            }

            @XmlElement(name = "ItemName")
            public String getItemName() {
                return ItemName;
            }

            public void setItemName(String itemName) {
                ItemName = itemName;
            }

            @XmlElement(name = "SampleTypeCode")
            public String getSampleTypeCode() {
                return SampleTypeCode;
            }

            public void setSampleTypeCode(String sampleTypeCode) {
                SampleTypeCode = sampleTypeCode;
            }

            @XmlElement(name = "SampleTypeName")
            public String getSampleTypeName() {
                return SampleTypeName;
            }

            public void setSampleTypeName(String sampleTypeName) {
                SampleTypeName = sampleTypeName;
            }

            @XmlElement(name = "ItemPrice")
            public BigDecimal getItemPrice() {
                return ItemPrice;
            }

            public void setItemPrice(BigDecimal itemPrice) {
                ItemPrice = itemPrice;
            }

            @XmlElement(name = "ItemCount")
            public BigDecimal getItemCount() {
                return ItemCount;
            }

            public void setItemCount(BigDecimal itemCount) {
                ItemCount = itemCount;
            }

            @XmlElement(name = "ItemCost")
            public BigDecimal getItemCost() {
                return ItemCost;
            }

            public void setItemCost(BigDecimal itemCost) {
                ItemCost = itemCost;
            }

            @XmlElement(name = "FeeStatus")
            public String getFeeStatus() {
                return FeeStatus;
            }

            public void setFeeStatus(String feeStatus) {
                FeeStatus = feeStatus;
            }

            @XmlElement(name = "CostFreeSign")
            public String getCostFreeSign() {
                return CostFreeSign;
            }

            public void setCostFreeSign(String costFreeSign) {
                CostFreeSign = costFreeSign;
            }

            @XmlElement(name = "ExamExecuteDept")
            public String getExamExecuteDept() {
                return ExamExecuteDept;
            }

            public void setExamExecuteDept(String examExecuteDept) {
                ExamExecuteDept = examExecuteDept;
            }

            @XmlElement(name = "ExamExecuteDeptName")
            public String getExamExecuteDeptName() {
                return ExamExecuteDeptName;
            }

            public void setExamExecuteDeptName(String examExecuteDeptName) {
                ExamExecuteDeptName = examExecuteDeptName;
            }

            @XmlElement(name = "ExamExecuteTime")
            public String getExamExecuteTime() {
                return ExamExecuteTime;
            }

            public void setExamExecuteTime(String examExecuteTime) {
                ExamExecuteTime = examExecuteTime;
            }

            @XmlElement(name = "RequestNote")
            public String getRequestNote() {
                return RequestNote;
            }

            public void setRequestNote(String requestNote) {
                RequestNote = requestNote;
            }

            @XmlElement(name = "InvoiceNo")
            public String getInvoiceNo() {
                return InvoiceNo;
            }

            public void setInvoiceNo(String invoiceNo) {
                InvoiceNo = invoiceNo;
            }

            @XmlElement(name = "ExamMethodCode")
            public String getExamMethodCode() {
                return ExamMethodCode;
            }

            public void setExamMethodCode(String examMethodCode) {
                ExamMethodCode = examMethodCode;
            }

            @XmlElement(name = "ExamMethodName")
            public String getExamMethodName() {
                return ExamMethodName;
            }

            public void setExamMethodName(String examMethodName) {
                ExamMethodName = examMethodName;
            }

            @XmlElement(name = "Feetype")
            public int getFeetype() {
                return Feetype;
            }

            public void setFeetype(int feetype) {
                Feetype = feetype;
            }

            @XmlElementWrapper(name = "Childitems")
            @XmlElement(name = "Childitem")
            public List<Childitem> getChilditems() {
                return Childitems;
            }

            public void setChilditems(List<Childitem> childitems) {
                Childitems = childitems;
            }

            public static class Childitem {
                private String AdviceExpenseDetailId;
                private String ChildItemCode;
                private String ChildItemName;
                private String OrderDetailId;
                private String CostId;
                private String CostName;
                private BigDecimal CostNumber;
                private BigDecimal CostPrice;
                private String CostUnit;
                private BigDecimal DetailCost;

                @XmlElement(name = "AdviceExpenseDetailId")
                public String getAdviceExpenseDetailId() {
                    return AdviceExpenseDetailId;
                }

                public void setAdviceExpenseDetailId(String adviceExpenseDetailId) {
                    AdviceExpenseDetailId = adviceExpenseDetailId;
                }

                @XmlElement(name = "ChildItemCode")
                public String getChildItemCode() {
                    return ChildItemCode;
                }

                public void setChildItemCode(String childItemCode) {
                    ChildItemCode = childItemCode;
                }

                @XmlElement(name = "ChildItemName")
                public String getChildItemName() {
                    return ChildItemName;
                }

                public void setChildItemName(String childItemName) {
                    ChildItemName = childItemName;
                }

                @XmlElement(name = "OrderDetailId")
                public String getOrderDetailId() {
                    return OrderDetailId;
                }

                public void setOrderDetailId(String orderDetailId) {
                    OrderDetailId = orderDetailId;
                }

                @XmlElement(name = "CostId")
                public String getCostId() {
                    return CostId;
                }

                public void setCostId(String costId) {
                    CostId = costId;
                }

                @XmlElement(name = "CostName")
                public String getCostName() {
                    return CostName;
                }

                public void setCostName(String costName) {
                    CostName = costName;
                }

                @XmlElement(name = "CostNumber")
                public BigDecimal getCostNumber() {
                    return CostNumber;
                }

                public void setCostNumber(BigDecimal costNumber) {
                    CostNumber = costNumber;
                }

                @XmlElement(name = "CostPrice")
                public BigDecimal getCostPrice() {
                    return CostPrice;
                }

                public void setCostPrice(BigDecimal costPrice) {
                    CostPrice = costPrice;
                }

                @XmlElement(name = "CostUnit")
                public String getCostUnit() {
                    return CostUnit;
                }

                public void setCostUnit(String costUnit) {
                    CostUnit = costUnit;
                }

                @XmlElement(name = "DetailCost")
                public BigDecimal getDetailCost() {
                    return DetailCost;
                }

                public void setDetailCost(BigDecimal detailCost) {
                    DetailCost = detailCost;
                }
            }
        }
    }
}
